package cn.yllr.tomgxianghui.service;

import cn.yllr.tomgxianghui.domain.Order;
import cn.yllr.tomgxianghui.entity.User;
import cn.yllr.tomgxianghui.model.PartOrderDetail;

import java.util.List;

public interface OrderService {
    Boolean addorder(String cid, String address, Integer price,String put);
    List<Order> findorder();
    Order findOrderByCid(String oid);
    int deleteOrders(String oid);
//    int insertOrderList(List<PartOrderDetail> lists);
    List<PartOrderDetail> findorderDetail(String oid);
    User findUserPhoneBysession(String name);
    int cancelOrderByid(String orderid);
    List<Order> findOrderByCookid(String customerid);
    int agreeAppUpdateOrder(String orderid);
    int refuseAppUpdateOrder(String orderid);
    int updatePayStatus(String orderid);
}
